package com.example.service;

import com.example.pojo.Supplier;
import com.example.pojo.SupplierContact;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【supplier_contact】的数据库操作Service
* @createDate 2024-04-06 16:12:27
*/
public interface SupplierContactService extends IService<SupplierContact> {

    List<SupplierContact> allContact(String cname, Integer pid);

    List<Supplier> all();

    int add(SupplierContact supplierContact);

    Integer delete(Integer id);

    Integer toUpdate(SupplierContact supplierContact);
}
